﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Contato.aspx.cs" Inherits="MakeIT.Alf.Site.Apresentacao.Contato" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div class="titulo">
CONTATO
</div>
<div class="contato">
    <asp:Label ID="lblDescricao" runat="server" Text="lblDescricao" Font-Bold="true" Font-Size="14px"></asp:Label>
    <br />
&nbsp;<asp:MultiView ID="mvContato" runat="server" ActiveViewIndex="0">
        <asp:View ID="vForm" runat="server" >
            <table border="0" cellpadding="0" cellspacing="0" width="100%" >
                <tr>
                    <td align="center">
            <table cellpadding="3" cellspacing="3" style="border:2px dashed #8080ff; padding:10 10 10 10;"> 
        <tr> 
            <td align="right">
                C&oacute;digo do im&oacute;vel</td>
                <td>&nbsp;</td>
            <td align="left">
                <asp:TextBox ID="txtCodigo" runat="server" CssClass="formContato" onkeypress="onlyNum();" MaxLength="20" ></asp:TextBox>
                <asp:TextBoxWatermarkExtender ID="txtCodigo_TextBoxWatermarkExtender" 
                    runat="server" Enabled="True" TargetControlID="txtCodigo" 
                    WatermarkCssClass="formContatoWater" 
                    WatermarkText="Informe o Código do Imóvel Desejado">
                </asp:TextBoxWatermarkExtender>
            </td>
        </tr>
        <tr>
            <td align="right">
                Nome
            </td>
                <td>&nbsp;</td>
            <td align="left">
                <asp:TextBox ID="txtNome" runat="server" CssClass="formContato" MaxLength="80" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvNome" runat="server" 
                    ControlToValidate="txtNome" ErrorMessage="O Nome é Obrigátorio">*</asp:RequiredFieldValidator>
                <asp:ValidatorCalloutExtender ID="rfvNome_ValidatorCalloutExtender" 
                    runat="server" Enabled="True" TargetControlID="rfvNome">
                </asp:ValidatorCalloutExtender>
                <asp:TextBoxWatermarkExtender ID="txtNome_TextBoxWatermarkExtender" 
                    runat="server" Enabled="True" TargetControlID="txtNome" 
                    WatermarkCssClass="formContatoWater" WatermarkText="Informe o Seu Nome">
                </asp:TextBoxWatermarkExtender>
            </td>
        </tr>
        <tr>
            <td align="right">
                Email
            </td>
                <td>&nbsp;</td>
            <td align="left">
                <asp:TextBox ID="txtEmail" runat="server" CssClass="formContato" MaxLength="80" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="O Email é Obrigátorio">*</asp:RequiredFieldValidator>
                <asp:ValidatorCalloutExtender ID="rfvEmail_ValidatorCalloutExtender" 
                    runat="server" Enabled="True" TargetControlID="rfvEmail">
                </asp:ValidatorCalloutExtender>
                <asp:TextBoxWatermarkExtender ID="txtEmail_TextBoxWatermarkExtender" 
                    runat="server" Enabled="True" TargetControlID="txtEmail"
                    WatermarkCssClass="formContatoWater" WatermarkText="Informe o Seu Email">
                </asp:TextBoxWatermarkExtender>
            </td>
        </tr>
        <tr>
            <td align="right">
                Telefone</td>
                <td>&nbsp;</td>
            <td align="left">
                <asp:TextBox ID="txtTelefone" runat="server" CssClass="formContato" onkeypress="mascaraTelefone();" MaxLength="14"></asp:TextBox>
                <asp:TextBoxWatermarkExtender ID="txtTelefone_TextBoxWatermarkExtender" 
                    runat="server" Enabled="True" TargetControlID="txtTelefone" 
                    WatermarkCssClass="formContatoWater" 
                    WatermarkText="Informe o Seu Telefone Para Contato">
                </asp:TextBoxWatermarkExtender>
            </td>
        </tr>
        <tr>
            <td align="right">
                Região</td>
                <td>&nbsp;</td>
            <td align="left">
                <asp:TextBox ID="txtRegiao" runat="server" CssClass="formContato" MaxLength="100"></asp:TextBox>
                <asp:TextBoxWatermarkExtender ID="txtRegiao_TextBoxWatermarkExtender" 
                    runat="server" Enabled="True" TargetControlID="txtRegiao" 
                    WatermarkCssClass="formContatoWater" 
                    WatermarkText="Informe a Estado/Cidade/Bairro de Interesse">
                </asp:TextBoxWatermarkExtender>
            </td>
        </tr>
        <tr>
            <td align="right">
                Assunto
            </td>
                <td>&nbsp;</td>
            <td align="left">
                <asp:TextBox ID="txtAssunto" runat="server" CssClass="formContato" MaxLength="100" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvAssunto" runat="server" 
                    ControlToValidate="txtAssunto" ErrorMessage="O Assunto é Obrigátorio">*</asp:RequiredFieldValidator>
                <asp:ValidatorCalloutExtender ID="rfvAssunto_ValidatorCalloutExtender" 
                    runat="server" Enabled="True" TargetControlID="rfvAssunto">
                </asp:ValidatorCalloutExtender>
                <asp:TextBoxWatermarkExtender ID="txtAssunto_TextBoxWatermarkExtender" 
                    runat="server" Enabled="True" TargetControlID="txtAssunto" 
                    WatermarkCssClass="formContatoWater" WatermarkText="Informe o Desejado Assunto">
                </asp:TextBoxWatermarkExtender>
            </td>
        </tr>
        <tr>
            <td align="right" valign="top">
                Mensagem
            </td>
                <td>&nbsp;</td>
            <td align="left">
                <asp:TextBox ID="txtMsg" runat="server" CssClass="formContato" style="height:100px;"
                    MaxLength="1500" TextMode="MultiLine"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvMsg" runat="server" 
                    ControlToValidate="txtMsg" ErrorMessage="A Mensagem é Obrigátoria">*</asp:RequiredFieldValidator>
                <asp:ValidatorCalloutExtender ID="rfvMsg_ValidatorCalloutExtender" 
                    runat="server" Enabled="True" TargetControlID="rfvMsg">
                </asp:ValidatorCalloutExtender>
                <asp:TextBoxWatermarkExtender ID="txtMsg_TextBoxWatermarkExtender" 
                    runat="server" Enabled="True" TargetControlID="txtMsg" 
                    WatermarkCssClass="formContatoWater" 
                    WatermarkText="Informe a Sua Mensagem">
                </asp:TextBoxWatermarkExtender>
            </td>
        </tr>
        <tr>
            <td>
                Código de Segurança</td>
                <td>&nbsp;</td>
            <td align="right" valign="middle">
               <asp:Image ID="ImageCaptcha" runat="server" 
                    Width="200" Height="60" ImageUrl="~/getCaptcha.aspx"/>
                                                <br />
                <asp:TextBox ID="txtCaptcha" runat="server" Height="20px" 
                    CssClass="formContatoChave"></asp:TextBox>
                <asp:TextBoxWatermarkExtender ID="txtCaptcha_TextBoxWatermarkExtender" 
                    runat="server" TargetControlID="txtCaptcha" 
                    WatermarkCssClass="formContatoWater" 
                    WatermarkText="Digite o Código de Segurança">
                </asp:TextBoxWatermarkExtender>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
                <td>&nbsp;</td>
            <td align="right">
                
                <asp:ImageButton ID="btnEnviar" runat="server" 
                    ImageUrl="~/App_Themes/site/images/btEnviar.png" 
                    onclick="btnEnviar_Click" />
            </td>
        </tr>
    </table>
                    </td>
                </tr>
            </table>
        </asp:View>
        <asp:View ID="vMsg" runat="server">
            <div align="center">
                <asp:Label ID="lblMsgEnviado" runat="server" Font-Bold="True" Font-Size="18pt" 
                    ForeColor="#0B5AAA" Text="lblMsgEnviado"></asp:Label>
            </div>
        </asp:View>
    </asp:MultiView>
    
</div>
<div class="tituloSemSeta"></div>
</asp:Content>
